package com.ai.entity.made;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author chen
 * @since 2023-03-28 11:12:30
 */
@Data
@Accessors(chain = true)
@TableName("t_slabs")
@ApiModel(value = "Slabs对象", description = "")
public class Slabs implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("板坯ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("板坯号")
    @TableField("slab_num")
    private String slabNum;

    @ApiModelProperty("产线（1.一流，2.二流）")
    @TableField("product_lines")
    private Integer productLines;

    @ApiModelProperty("上表面时间")
    @TableField("upper_time")
    private Date upperTime;

    @ApiModelProperty("下表面时间")
    @TableField("lower_time")
    private Date lowerTime;

    @ApiModelProperty("上表图片路径")
    @TableField("upper_pictures")
    private String upperPictures;

    @ApiModelProperty("下表图片路径")
    @TableField("lower_pictures")
    private String lowerPictures;

    @ApiModelProperty("重接的异常数量")
    @TableField("unusual1")
    private Integer unusual1 = 0;

    @ApiModelProperty("纵列的异常数量")
    @TableField("unusual2")
    private Integer unusual2 = 0;

    @ApiModelProperty("横裂的异常数量")
    @TableField("unusual3")
    private Integer unusual3 = 0;

    @ApiModelProperty("划伤的异常数量")
    @TableField("unusual4")
    private Integer unusual4 = 0;

    @ApiModelProperty("毛刺的异常数量")
    @TableField("unusual5")
    private Integer unusual5 = 0;

    @ApiModelProperty("重接的异常数量")
    @TableField("upper_visible")
    private Integer upperVisible = 0;

    @ApiModelProperty("重接的异常数量")
    @TableField("lower_visible")
    private Integer lowerVisible = 0;

    @ApiModelProperty("上表面图片本地存储位置")
    @TableField("up_picture_local_url")
    private String upPictureLocalUrl;

    @ApiModelProperty("上表面下载标志")
    @TableField("up_local_flag")
    private String upLocalFlag ;

    @ApiModelProperty("上表面图片本地存储位置")
    @TableField("lower_picture_local_url")
    private String lowerPictureLocalUrl;

    @ApiModelProperty("上表面下载标志")
    @TableField("lower_local_flag")
    private String lowerLocalFlag ;

}
